﻿<%@ Page Title="" Language="C#" MasterPageFile="~/JewelleryHouse.Master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Customer_Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="content_login" >
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table width="330px">
                    <tr>
                        <td colspan="2">
                            <h1>
                                Đăng Nhập</h1>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>
                                Tên đăng nhập</p>
                        </td>
                        <td>
                            <asp:TextBox ID="txtTendangnhap" runat="server" Height="20px" Width="170px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>
                                Mật khẩu</p>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMatkhau" runat="server" Height="20px" TextMode="Password" 
                                Width="170px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="btLogin" runat="server" Text="LOGIN" Width="76px" />
                        </td>
                        <td>
                            <asp:HyperLink ID="hplQuenmatkhau" runat="server" 
                                NavigateUrl="QuenMatKhau.aspx">Quên mật khẩu ?</asp:HyperLink>
                            <br />
                            <asp:HyperLink ID="hplDangki" runat="server" NavigateUrl="DangKy.aspx">Chưa có tài khoản ?</asp:HyperLink>
                        </td>
                    </tr>
                </table>
                <div ID="login_message">
                    <asp:Label ID="lblThongbao" runat="server" CssClass="login_message"></asp:Label>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtTendangnhap" ErrorMessage="Vui lòng nhập tên đăng nhập" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtMatkhau" ErrorMessage="Vui lòng nhập mật khẩu" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>

